﻿using Factory.Customers.DTO;
using Factory.MesEntity.CustomerDatas;
using Factory.WarehouseManagement.SNDatas.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace Factory.WarehouseManagement.SNDatas
{
    public interface ISNDataAppService:IApplicationService
    {
        (List<SNData> units, int total) GetSNDataList(string snName, int pageIndex = 1, int pageSize = 10);
        int CreateAsync(SNData sndata);
        int UpdateAsync(SNDataUpdateDto input);

        Task<int> DeleteAsync(int id);

        SNData GetSNDataById(int id);
    }
}
